package org.jeecg.modules.demo.dtwlwjc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 墒情数据
 * @Author: jeecg-boot
 * @Date:   2023-04-25
 * @Version: V1.0
 */
@Data
@TableName("zwgl_shangqing")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="zwgl_shangqing对象", description="墒情数据")
public class ZwglShangqing implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.Integer id;
	/**deviceid*/
	@Excel(name = "deviceid", width = 15)
    @ApiModelProperty(value = "deviceid")
    private java.lang.Integer deviceid;
	/**湿度1*/
	@Excel(name = "湿度1", width = 15)
    @ApiModelProperty(value = "湿度1")
    private java.lang.Double hum1;
	/**ec值*/
	@Excel(name = "ec值", width = 15)
    @ApiModelProperty(value = "ec值")
    private java.lang.Double ec;
	/**氮*/
	@Excel(name = "氮", width = 15)
    @ApiModelProperty(value = "氮")
    private java.lang.Double nit;
	/**ph值*/
	@Excel(name = "ph值", width = 15)
    @ApiModelProperty(value = "ph值")
    private java.lang.Double ph;
	/**磷*/
	@Excel(name = "磷", width = 15)
    @ApiModelProperty(value = "磷")
    private java.lang.Double pho;
	/**钾*/
	@Excel(name = "钾", width = 15)
    @ApiModelProperty(value = "钾")
    private java.lang.Double pot;
	/**采集时间*/
	@Excel(name = "采集时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "采集时间")
    private java.util.Date synctime;
	/**温度1*/
	@Excel(name = "温度1", width = 15)
    @ApiModelProperty(value = "温度1")
    private java.lang.Double tem1;
	/**湿度2*/
	@Excel(name = "湿度2", width = 15)
    @ApiModelProperty(value = "湿度2")
    private java.lang.Double hum2;
	/**湿度3*/
	@Excel(name = "湿度3", width = 15)
    @ApiModelProperty(value = "湿度3")
    private java.lang.Double hum3;
	/**温度2*/
	@Excel(name = "温度2", width = 15)
    @ApiModelProperty(value = "温度2")
    private java.lang.Double tem2;
	/**温度3*/
	@Excel(name = "温度3", width = 15)
    @ApiModelProperty(value = "温度3")
    private java.lang.Double tem3;
}
